﻿using System;
using OA.DBUtility;

namespace OA.Model
{

    [MappingTable("ProjectProgressView")]
    public partial class ProjectProgressInfoView : ProjectProgressInfo
    {
    }

    /// <summary>
    /// ProjectProgress:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [MappingTable("ProjectProgress")]
    public partial class ProjectProgressInfo
    {
        public ProjectProgressInfo()
        { }
        #region Model
        private int _id;
        private string _projectid;
        private string _totalworkpreviousquarter;
        private decimal? _totalworkprecentpreviousquarter;
        private string _workplanlastquarter;
        private decimal? _workplanprecentlastquarter;
        private string _totalworklastquarter;
        private decimal? _totalworkprecentlastquarter;
        private string _workplanthisquarter;
        private decimal? _workplanprecentthisquarter;
        private decimal? _planTotal;
        private DateTime? _createtime = DateTime.Now;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ProjectId")]
        public string ProjectId
        {
            set { _projectid = value; }
            get { return _projectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("TotalWorkPreviousQuarter")]
        public string TotalWorkPreviousQuarter
        {
            set { _totalworkpreviousquarter = value; }
            get { return _totalworkpreviousquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("TotalWorkPrecentPreviousQuarter")]
        public decimal? TotalWorkPrecentPreviousQuarter
        {
            set { _totalworkprecentpreviousquarter = value; }
            get { return _totalworkprecentpreviousquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("WorkPlanLastQuarter")]
        public string WorkPlanLastQuarter
        {
            set { _workplanlastquarter = value; }
            get { return _workplanlastquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("WorkPlanPrecentLastQuarter")]
        public decimal? WorkPlanPrecentLastQuarter
        {
            set { _workplanprecentlastquarter = value; }
            get { return _workplanprecentlastquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("TotalWorkLastQuarter")]
        public string TotalWorkLastQuarter
        {
            set { _totalworklastquarter = value; }
            get { return _totalworklastquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("TotalWorkPrecentLastQuarter")]
        public decimal? TotalWorkPrecentLastQuarter
        {
            set { _totalworkprecentlastquarter = value; }
            get { return _totalworkprecentlastquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("WorkPlanThisQuarter")]
        public string WorkPlanThisQuarter
        {
            set { _workplanthisquarter = value; }
            get { return _workplanthisquarter; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("WorkPlanPrecentThisQuarter")]
        public decimal? WorkPlanPrecentThisQuarter
        {
            set { _workplanprecentthisquarter = value; }
            get { return _workplanprecentthisquarter; }
        }

        [DataField("PlanTotal")]
        public decimal? PlanTotal
        {
            get { return _planTotal; }
            set { _planTotal = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataField("CreateTime")]
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        [DataField("InternalType")]
        public int InternalType { get; set; }

        #endregion Model

    }
}

